package com.hncc.bms.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 医院账单流水对象 bms_bills_record
 * 
 * @author ruoyi
 * @date 2020-09-04
 */
@ApiModel(value = "医院账单流水实体")
public class BmsBillsRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "id",required = false)
    private Long id;

    /** 账单类型 */
    @ApiModelProperty(value = "账单类型",required = false)
    @Excel(name = "账单类型")
    private Integer type;

    /** 流水号 */
    @ApiModelProperty(value = "流水号",required = false)
    @Excel(name = "流水号")
    private String billNo;

    /** 状态 */
    @ApiModelProperty(value = "状态",required = false)
    @Excel(name = "状态")
    private Integer status;

    /** 发票数量 */
    @ApiModelProperty(value = "发票数量",required = false)
    @Excel(name = "发票数量")
    private Integer invoiceNum;

    /** 挂号id */
    @ApiModelProperty(value = "挂号id",required = false)
    @Excel(name = "挂号id")
    private Long registrationId;

    /** 记录列表 */
    @ApiModelProperty(value = "记录列表",required = false)
    @Excel(name = "记录列表")
    private String recordList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setBillNo(String billNo) 
    {
        this.billNo = billNo;
    }

    public String getBillNo() 
    {
        return billNo;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setInvoiceNum(Integer invoiceNum) 
    {
        this.invoiceNum = invoiceNum;
    }

    public Integer getInvoiceNum() 
    {
        return invoiceNum;
    }
    public void setRegistrationId(Long registrationId) 
    {
        this.registrationId = registrationId;
    }

    public Long getRegistrationId() 
    {
        return registrationId;
    }
    public void setRecordList(String recordList) 
    {
        this.recordList = recordList;
    }

    public String getRecordList() 
    {
        return recordList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("billNo", getBillNo())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .append("invoiceNum", getInvoiceNum())
            .append("registrationId", getRegistrationId())
            .append("recordList", getRecordList())
            .toString();
    }
}
